package com.yijinsuo.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

import com.yijinsuo.R;
import com.yijinsuo.base.BaseActivity;
import com.yijinsuo.view.TitleBar;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;


/**
 * 安全保障
 */
public class YuMiSecurityActivity extends BaseActivity {
    @Bind(R.id.titlebar)
    TitleBar titlebar;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.activity_yu_mi_security);
        ButterKnife.bind(this);
        super.onCreate(savedInstanceState);
    }

    @Override
    protected void initTitle() {

        titlebar.setTitleBar(R.drawable.back_selector, "安全保障", 0);
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void setData() {

    }

    @OnClick({R.id.titlebar_iv_back,R.id.tv_start_licai})
    @Override
    public void widgetClick(View v) {

        switch (v.getId()) {

            case R.id.titlebar_iv_back:

                finish();

                break;

            case R.id.tv_start_licai:
                Toast.makeText(YuMiSecurityActivity.this, "123", Toast.LENGTH_SHORT).show();


                break;

            default:
        }

    }


}
